home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 11 / FM Towns Free Software Collection 11.iso / t_os / tool / dolmorph / src / guisub.hh < prev    next >
Encoding:
Text File  |  1994-09-28  |  2.2 KB  |  72 lines

  1. int MS_init(void);
  2. void MS_end(void);
  3.  
  4. void MS_getHyper(int objId, HYPER *hyp);
  5. void MS_setHyper(int objId, HYPER *hyp);
  6. void MS_setChColor(int idObj, int col);
  7. void MS_getFrame(int idObj, FRAME *fr);
  8. void MS_moveCenter(int objId);
  9. void MS_raise(int kobj);
  10. int     MS_isTopInBros(int kobj);
  11. void MS_getMoveFrame(FRAME *fr);
  12. void MS_getWinUserFrame(int id, FRAME *user);
  13.  
  14. void MS_setOriginZero(void);
  15. void MS_recoverOrigin(void);
  16.  
  17. void MS_setClipVisibleAllScr(void);
  18. void    MS_setClipAnyFrame(int id, FRAME *fr);
  19. void MS_recoverClipVisible(void);
  20.  
  21. void MS_adjustFrame(int kobj, int baseobj, FRAME *parm);
  22. void MS_adjustWinUser(int idWin, FRAME *parm);
  23.  
  24. int MS_callSimpleFDG(int baseId, int noselId,
  25.                      char *title,char *ok,char *cancel,
  26.                      char *wildext, int flag, char *pathbuf);
  27.     /*
  28.         flag: FDG_NONE, FDG_MSLCT, FDG_TEXT など
  29.     */
  30.  
  31. void MS_putstring12(char *egbwork, int x,int y, char *str, int col, int bold);
  32.  
  33. void    MS_setScrollRange(int idSBar, int nDisp, int nAll, int bRedraw);
  34. void    MS_setScrollPos(int idSBar, int nPos, int bRedraw);
  35. int        MS_getScrollPos(int idSBar);
  36.  
  37. void MS_setClipWinUser(int idWin, WINCLIP **clipstack);
  38. void MS_resetClipWinUser(WINCLIP *clipstack);
  39.  
  40.     void MS_roundFramePosition(int idWin, int nx, int ny);
  41.  
  42.     void MS_initRadioButton(int *idBtnAry, int btnNum, int *sel);
  43.     void MS_pushRadioButton(int idBtn,int idBase,
  44.                             int *idBtnAry, int btnNum, int *sel);
  45.  
  46. void MS_putblock32k(char *buf, int x,int y,int width,int height);
  47.  
  48. void MS_setFileDlgStyle(int style);
  49.  
  50. #define    MOSICON_ARROW    80    /* 通常の矢印マーク */
  51. #define    MOSICON_WAIT    81    /* 時計のマーク */
  52. #define    MOSICON_DRAG    83    /* てのひらマーク */
  53. #define    MOSICON_PICK    84    /* ピンセット形状 */
  54. #define    MOSICON_POINT    85    /* スポイトマーク */
  55. #define    MOSICON_FINGER    86    /* 指マーク */
  56. #define    MOSICON_BRUSH    87    /* 筆マーク */
  57. #define    MOSICON_CUTTER    88    /* カッター */
  58.  
  59.  
  60. #define    MScol    MG_colorChange
  61.  
  62.  
  63.  
  64.  
  65. #define    MS_moveFrameTo( fr, x, y )   ((*(fr)).rdwx += (x) - (*(fr)).lupx, \
  66.                                       (*(fr)).rdwy += (y) - (*(fr)).lupy, \
  67.                                       (*(fr)).lupx = (x), \
  68.                                       (*(fr)).lupy = (y) )
  69.  
  70. #define    INTNUM(array)        (sizeof(array) / sizeof(int))
  71.  
  72.